package com.six.apidemic.bean;

import java.io.Serializable;

public class LoginCallbackBean implements Serializable {
    /**
     * success : true
     * message : success
     * code : 200
     * timestamp : 1650354759553
     * result : {"user":{"id":"1516320729178705920","createBy":null,"createTime":"2022-04-19 15:40:08","updateBy":null,"updateTime":null,"delFlag":0,"name":"白羽","password":"111111","type":"0","status":"0","sex":"女","age":"19","idCard":"411323199606142613","mobile":"17869577321","photo":null,"address":"浙江省杭州市西湖区"},"token":"1db04327eb68421a97974b61ba0e083c"}
     */

    private boolean success;
    private String message;
    private int code;
    private long timestamp;
    private ResultBean result;

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public static class ResultBean implements Serializable {
        /**
         * user : {"id":"1516320729178705920","createBy":null,"createTime":"2022-04-19 15:40:08","updateBy":null,"updateTime":null,"delFlag":0,"name":"白羽","password":"111111","type":"0","status":"0","sex":"女","age":"19","idCard":"411323199606142613","mobile":"17869577321","photo":null,"address":"浙江省杭州市西湖区"}
         * token : 1db04327eb68421a97974b61ba0e083c
         */

        private UserBean user;
        private String token;

        public UserBean getUser() {
            return user;
        }

        public void setUser(UserBean user) {
            this.user = user;
        }

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public static class UserBean implements Serializable {
            /**
             * id : 1516320729178705920
             * createBy : null
             * createTime : 2022-04-19 15:40:08
             * updateBy : null
             * updateTime : null
             * delFlag : 0
             * name : 白羽
             * password : 111111
             * type : 0
             * status : 0
             * sex : 女
             * age : 19
             * idCard : 411323199606142613
             * mobile : 17869577321
             * photo : null
             * address : 浙江省杭州市西湖区
             */

            private String id;
            private Object createBy;
            private String createTime;
            private Object updateBy;
            private Object updateTime;
            private int delFlag;
            private String name;
            private String password;
            private String type;
            private String status;//0:正常 1:封控 2:密接 3:次密接 4:阳性
            private String sex;
            private String age;
            private String idCard;
            private String mobile;
            private Object photo;
            private String address;

            public Object getCreateBy() {
                return createBy;
            }

            public void setCreateBy(Object createBy) {
                this.createBy = createBy;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public Object getUpdateBy() {
                return updateBy;
            }

            public void setUpdateBy(Object updateBy) {
                this.updateBy = updateBy;
            }

            public Object getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(Object updateTime) {
                this.updateTime = updateTime;
            }

            public int getDelFlag() {
                return delFlag;
            }

            public void setDelFlag(int delFlag) {
                this.delFlag = delFlag;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getPassword() {
                return password;
            }

            public void setPassword(String password) {
                this.password = password;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getSex() {
                return sex;
            }

            public void setSex(String sex) {
                this.sex = sex;
            }

            public String getAge() {
                return age;
            }

            public void setAge(String age) {
                this.age = age;
            }

            public String getIdCard() {
                return idCard;
            }

            public void setIdCard(String idCard) {
                this.idCard = idCard;
            }

            public String getMobile() {
                return mobile;
            }

            public void setMobile(String mobile) {
                this.mobile = mobile;
            }

            public Object getPhoto() {
                return photo;
            }

            public void setPhoto(Object photo) {
                this.photo = photo;
            }

            public String getAddress() {
                return address;
            }

            public void setAddress(String address) {
                this.address = address;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }
        }
    }
}
